<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Functions  Reference</title>
    <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="css/highlight.css" />
    <meta charset='utf-8'>
    <script src="js/jquery.min.js" defer></script>
    <script src="js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Section/Functions" class="dashAnchor"></a>
    <a title="Functions  Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="index.html">AIDevLog Docs</a> (61% documented)</p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="index.html">AIDevLog Reference</a>
        <img id="carat" src="img/carat.png" />
        Functions  Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Classes/BaseEstimator.html">BaseEstimator</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/DecisionTree.html">DecisionTree</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/KMeans.html">KMeans</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/KNN.html">KNN</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Extensions/Array.html">Array</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/CGPoint.html">CGPoint</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/SCNVector3.html">SCNVector3</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Functions.html">Functions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Functions.html#/s:8AIDevLog1poiySaySdGAC_ACtF">+(_:_:)</a>
              </li>
              <li class="nav-group-task">
                <a href="Functions.html#/s:8AIDevLog1poiySo10SCNVector3VAD_ADtF">+(_:_:)</a>
              </li>
              <li class="nav-group-task">
                <a href="Functions.html#/s:8AIDevLog1poiySo7CGPointVAD_ADtF">+(_:_:)</a>
              </li>
              <li class="nav-group-task">
                <a href="Functions.html#/s:8AIDevLog1doiySaySdGAC_SdtF">/(_:_:)</a>
              </li>
              <li class="nav-group-task">
                <a href="Functions.html#/s:8AIDevLog1doiySo10SCNVector3VAD_SdtF">/(_:_:)</a>
              </li>
              <li class="nav-group-task">
                <a href="Functions.html#/s:8AIDevLog1doiySo7CGPointVAD_SdtF">/(_:_:)</a>
              </li>
              <li class="nav-group-task">
                <a href="Functions.html#/s:8AIDevLog13pickerSamples_1kSayxGAD_SitlF">pickerSamples(_:k:)</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Protocols/ClassifierMixin.html">ClassifierMixin</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/FeatureProtocol.html">FeatureProtocol</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Structs/Distance.html">Distance</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/Point.html">Point</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>Functions</h1>
            <p>The following functions are available globally.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Math%20Operator"></a>
                <a name="//apple_ref/swift/Section/Math Operator" class="dashAnchor"></a>
                <a href="#/Math%20Operator">
                  <h3 class="section-name">Math Operator</h3>
                </a>
              </div>
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:8AIDevLog1poiySaySdGAC_ACtF"></a>
                    <a name="//apple_ref/swift/Function/+(_:_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:8AIDevLog1poiySaySdGAC_ACtF">+(_:_:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="o">+</span> <span class="p">(</span><span class="nv">left</span><span class="p">:</span> <span class="kt">Array</span><span class="o">&lt;</span><span class="kt">Double</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">right</span><span class="p">:</span> <span class="kt">Array</span><span class="o">&lt;</span><span class="kt">Double</span><span class="o">&gt;</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Array</span><span class="o">&lt;</span><span class="kt">Double</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:8AIDevLog1doiySaySdGAC_SdtF"></a>
                    <a name="//apple_ref/swift/Function//(_:_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:8AIDevLog1doiySaySdGAC_SdtF">/(_:_:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="o">/</span> <span class="p">(</span><span class="nv">left</span><span class="p">:</span> <span class="kt">Array</span><span class="o">&lt;</span><span class="kt">Double</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">right</span><span class="p">:</span> <span class="kt">Double</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Array</span><span class="o">&lt;</span><span class="kt">Double</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:8AIDevLog1poiySo7CGPointVAD_ADtF"></a>
                    <a name="//apple_ref/swift/Function/+(_:_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:8AIDevLog1poiySo7CGPointVAD_ADtF">+(_:_:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="o">+</span> <span class="p">(</span><span class="nv">left</span><span class="p">:</span> <span class="kt">CGPoint</span><span class="p">,</span> <span class="nv">right</span><span class="p">:</span> <span class="kt">CGPoint</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">CGPoint</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:8AIDevLog1doiySo7CGPointVAD_SdtF"></a>
                    <a name="//apple_ref/swift/Function//(_:_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:8AIDevLog1doiySo7CGPointVAD_SdtF">/(_:_:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="o">/</span> <span class="p">(</span><span class="nv">left</span><span class="p">:</span> <span class="kt">CGPoint</span><span class="p">,</span> <span class="nv">right</span><span class="p">:</span> <span class="kt">Double</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">CGPoint</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:8AIDevLog1poiySo10SCNVector3VAD_ADtF"></a>
                    <a name="//apple_ref/swift/Function/+(_:_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:8AIDevLog1poiySo10SCNVector3VAD_ADtF">+(_:_:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="o">+</span> <span class="p">(</span><span class="nv">left</span><span class="p">:</span> <span class="kt">SCNVector3</span><span class="p">,</span> <span class="nv">right</span><span class="p">:</span> <span class="kt">SCNVector3</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">SCNVector3</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:8AIDevLog1doiySo10SCNVector3VAD_SdtF"></a>
                    <a name="//apple_ref/swift/Function//(_:_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:8AIDevLog1doiySo10SCNVector3VAD_SdtF">/(_:_:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="o">/</span> <span class="p">(</span><span class="nv">left</span><span class="p">:</span> <span class="kt">SCNVector3</span><span class="p">,</span> <span class="nv">right</span><span class="p">:</span> <span class="kt">Double</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">SCNVector3</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:8AIDevLog13pickerSamples_1kSayxGAD_SitlF"></a>
                    <a name="//apple_ref/swift/Function/pickerSamples(_:k:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:8AIDevLog13pickerSamples_1kSayxGAD_SitlF">pickerSamples(_:k:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="n">pickerSamples</span><span class="o">&lt;</span><span class="kt">T</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">samples</span><span class="p">:</span> <span class="p">[</span><span class="kt">T</span><span class="p">],</span> <span class="nv">k</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="p">[</span><span class="kt">T</span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2019 <a class="link" href="http://iosdevlog.com" target="_blank" rel="external">iOSDevLog</a>. All rights reserved. (Last updated: 2019-08-13)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
